home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / comm / misc / MiamiLog2.readme < prev    next >
Text File  |  1998-05-05  |  4KB  |  86 lines

  1. Short:    Nice&simple Miami phone log parser w/src
  2. Author:   thorgal@amiga.com.pl
  3. Uploader: thorgal@amiga.com.pl
  4. Type:     comm/misc
  5.  
  6. Some time ago I hacked this simple flex parser to calculate my phone-bill
  7. value from the logfile generated by Miami.  A few of my friends liked it
  8. and seem to use it frequently, so I decided to release it in the hope that
  9. there may be more persons preferring simplicity over baroqueness of other
  10. log-analyzers. As for the source, let's say it's freeware.
  11.  
  12. Things that have changed from previous release:
  13.  
  14.  - pulse calculations were off by 20 seconds - fixed.
  15.  - daily time is displayed next to pulses.
  16.  
  17. Usage:
  18.  
  19. MiamiLog <Miami:phone.log
  20.  
  21. and the output looks like this:
  22.  
  23. ---------------------------------------------------------------------
  24.  
  25. day 01: #########                                  (00:23:05)
  26. day 02: ############                               (00:29:23)
  27. day 03: ############                               (00:29:58)
  28. day 04: ###########                                (00:25:04)
  29. day 05: #######################                    (01:01:54)
  30. day 06: ##############################             (01:24:46)
  31. day 07: ###################                        (00:55:09)
  32. day 08: ########################################## (01:59:17)
  33. day 09: ####                                       (00:07:22)
  34. day 10: #################                          (00:47:31)
  35. day 11: ######################                     (00:54:45)
  36. day 12: ####                                       (00:09:11)
  37. day 13: ###########                                (00:25:27)
  38. day 14: #########################                  (01:09:23)
  39. day 15: ########################                   (01:05:20)
  40. day 16: ################                           (00:41:29)
  41. day 17: #########                                  (00:19:44)
  42. day 18: ######                                     (00:16:20)
  43. day 19: #######                                    (00:17:30)
  44. day 20: ##################                         (00:48:16)
  45. day 21: #####                                      (00:11:57)
  46. day 22: ######################                     (01:01:31)
  47. day 23:                                            (00:00:00)
  48. day 24:                                            (00:00:00)
  49. day 25: ########                                   (00:22:46)
  50. day 26: ########################################   (01:51:53)
  51. day 27: ###                                        (00:05:14)
  52.  
  53. Last connection: 1 pulses (0.22 zl)
  54. Sum:    400 pulses
  55. Time:   17:44:15
  56. Price:  88.00 zl
  57. Daily:  3.26 zl
  58.  
  59. WARNING!!!
  60. There was 1 crash so the actual pulse count may be higher!
  61.  
  62. ---------------------------------------------------------------------
  63.  
  64. As you can see, it calculates the cost in "zlotys" using current rates for
  65. telephone connection in Poland.  Modifying it to support other
  66. rates/countries is trivial and is left as an exercise for the reader. 
  67.  
  68. And BTW - MiamiLog only understands logfiles containing entries from ONE
  69. month. Yes, I know, but remember - I am not charging money for this stuff. :)
  70.  
  71. Have fun,
  72. Milek
  73.  
  74.  
  75. ============================= Archive contents =============================
  76.  
  77. Original  Packed Ratio    Date     Time    Name
  78. -------- ------- ----- --------- --------  -------------
  79.     1188     554 53.3% 27-Apr-98 15:31:58  MiamiLog.info
  80.    22372   13173 41.1% 27-Apr-98 15:10:48 +MiamiLog
  81.     2901    1071 63.0% 27-Apr-98 15:07:40 +MiamiLog.l
  82.     3068    1070 65.1% 27-Apr-98 15:30:42 +MiamiLog.readme
  83.       95      79 16.8% 01-Mar-98 00:59:20 +SCOPTIONS
  84. -------- ------- ----- --------- --------
  85.    29624   15947 46.1% 28-Apr-98 18:14:14   5 files
  86.